<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SPHinXsys: SPHINXsys/src/shared/particle_dynamics/fluid_dynamics/fluid_dynamics_inner.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">SPHinXsys
   &#160;<span id="projectnumber">alpha version</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_3dc1dabd28ba78e072d14d3fcfc90454.html">SPHINXsys</a></li><li class="navelem"><a class="el" href="dir_48ea983704c43b6d88c1fa3f4d09e369.html">src</a></li><li class="navelem"><a class="el" href="dir_0a0d9ef1793521534f0094f317758287.html">shared</a></li><li class="navelem"><a class="el" href="dir_05f659066ce4fa1dc9c19bd298f55a53.html">particle_dynamics</a></li><li class="navelem"><a class="el" href="dir_2125208f0dbfe82854692add7fe7e660.html">fluid_dynamics</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">fluid_dynamics_inner.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="fluid__dynamics__inner_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/* -------------------------------------------------------------------------*</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment">*                               SPHinXsys                                   *</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment">* --------------------------------------------------------------------------*</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment">* SPHinXsys (pronunciation: s&#39;finksis) is an acronym from Smoothed Particle *</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment">* Hydrodynamics for industrial compleX systems. It provides C++ APIs for    *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">* physical accurate simulation and aims to model coupled industrial dynamic *</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment">* systems including fluid, solid, multi-body dynamics and beyond with SPH   *</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">* (smoothed particle hydrodynamics), a meshless computational method using  *</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;<span class="comment">* particle discretization.                                                  *</span></div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="comment">*                                                                           *</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="comment">* SPHinXsys is partially funded by German Research Foundation               *</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="comment">* (Deutsche Forschungsgemeinschaft) DFG HU1527/6-1, HU1527/10-1             *</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="comment">* and HU1527/12-1.                                                          *</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="comment">*                                                                           *</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160;<span class="comment">* Portions copyright (c) 2017-2020 Technical University of Munich and       *</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="comment">* the authors&#39; affiliations.                                                *</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="comment">*                                                                           *</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">* Licensed under the Apache License, Version 2.0 (the &quot;License&quot;); you may   *</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="comment">* not use this file except in compliance with the License. You may obtain a *</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="comment">* copy of the License at http://www.apache.org/licenses/LICENSE-2.0.        *</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160;<span class="comment">*                                                                           *</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="comment">* --------------------------------------------------------------------------*/</span></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;<span class="preprocessor">#pragma once</span></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160; </div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="preprocessor">#include &quot;all_particle_dynamics.h&quot;</span></div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="base__kernel_8h.html">base_kernel.h</a>&quot;</span></div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="preprocessor">#include &quot;riemann_solver.h&quot;</span></div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;<span class="keyword">namespace </span><a class="code" href="namespace_s_p_h.html">SPH</a></div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160;{</div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <span class="keyword">namespace </span>fluid_dynamics</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    {</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keyword">typedef</span> DataDelegateSimple&lt;FluidBody, FluidParticles, Fluid&gt; FluidDataSimple;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;        <span class="keyword">typedef</span> DataDelegateInner&lt;FluidBody, FluidParticles, Fluid&gt; FluidDataInner;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_fluid_initial_condition.html">   49</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_fluid_initial_condition.html">FluidInitialCondition</a></div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_simple.html">ParticleDynamicsSimple</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;        {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_fluid_initial_condition.html">FluidInitialCondition</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body);</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_fluid_initial_condition.html">FluidInitialCondition</a>() {};</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_, &amp; vel_n_;</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        };</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner.html">   66</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner.html">FreeSurfaceIndicationInner</a></div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_interaction_dynamics_with_update.html">InteractionDynamicsWithUpdate</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_inner.html">FluidDataInner</a></div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;        {</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner.html">FreeSurfaceIndicationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation, Real thereshold = 0.75);</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner.html">FreeSurfaceIndicationInner</a>() {};</div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160; </div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;            Real smoothing_length_;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;            Real thereshold_by_dimensions_;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160;            StdLargeVec&lt;Real&gt;&amp; Vol_, &amp; pos_div_;</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;            StdLargeVec&lt;int&gt;&amp; surface_indicator_;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Interaction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner.html#a75cad5efe05736fec2695f603216e794">Update</a>(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;        };</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00087"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html">   87</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html">DensitySummationInner</a></div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_interaction_dynamics_with_update.html">InteractionDynamicsWithUpdate</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_inner.html">FluidDataInner</a></div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;        {</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00091"></a><span class="lineno">   91</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html">DensitySummationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html">DensitySummationInner</a>() {};</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;            Real W0_, rho_0_, inv_sigma_0_;</div>
<div class="line"><a name="l00095"></a><span class="lineno">   95</span>&#160;            StdLargeVec&lt;Real&gt;&amp; Vol_, &amp; rho_n_, &amp; mass_, &amp; rho_sum_;</div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160; </div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html#a2695b531d121dfa4db0c4a44e858333f">Interaction</a>(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160;            <span class="keyword">virtual</span> Real ReinitializedDensity(Real rho_sum, Real rho_0, Real rho_n) { <span class="keywordflow">return</span> rho_sum; };</div>
<div class="line"><a name="l00100"></a><span class="lineno">  100</span>&#160;        };</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_free_surface_inner.html">  106</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_free_surface_inner.html">DensitySummationFreeSurfaceInner</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html">DensitySummationInner</a></div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;        {</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_free_surface_inner.html">DensitySummationFreeSurfaceInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation) :</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160;                <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html">DensitySummationInner</a>(inner_relation) {};</div>
<div class="line"><a name="l00111"></a><span class="lineno">  111</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_free_surface_inner.html">DensitySummationFreeSurfaceInner</a>() {};</div>
<div class="line"><a name="l00112"></a><span class="lineno">  112</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00113"></a><span class="lineno">  113</span>&#160;            <span class="keyword">virtual</span> Real ReinitializedDensity(Real rho_sum, Real rho_0, Real rho_n)<span class="keyword"> override </span></div>
<div class="line"><a name="l00114"></a><span class="lineno">  114</span>&#160;<span class="keyword">            </span>{</div>
<div class="line"><a name="l00115"></a><span class="lineno">  115</span>&#160;                <span class="keywordflow">return</span> rho_sum + SMAX(0.0, (rho_n - rho_sum)) * rho_0 / rho_n;</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;            };</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;        };</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00123"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner.html">  123</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner.html">ViscousAccelerationInner</a></div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_inner.html">FluidDataInner</a></div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;        {</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner.html">ViscousAccelerationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner.html">ViscousAccelerationInner</a>() {};</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;            Real mu_;</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160;            Real smoothing_length_;</div>
<div class="line"><a name="l00132"></a><span class="lineno">  132</span>&#160;            StdLargeVec&lt;Real&gt; &amp;Vol_, &amp;rho_n_, &amp;p_;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;            StdLargeVec&lt;Vecd&gt; &amp;vel_n_, &amp;dvel_dt_others_;</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Interaction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;        };</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00143"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner.html">  143</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner.html">AngularConservativeViscousAccelerationInner</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner.html">ViscousAccelerationInner</a></div>
<div class="line"><a name="l00144"></a><span class="lineno">  144</span>&#160;        {</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner.html">AngularConservativeViscousAccelerationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation) : </div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;                <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner.html">ViscousAccelerationInner</a>(inner_relation) {};</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner.html">AngularConservativeViscousAccelerationInner</a>() {};</div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner.html#a056627ab2a843143a8fe16e2e56ca94d">Interaction</a>(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160;        };</div>
<div class="line"><a name="l00152"></a><span class="lineno">  152</span>&#160; </div>
<div class="line"><a name="l00157"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html">  157</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html">TransportVelocityCorrectionInner</a></div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_inner.html">FluidDataInner</a></div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;        {</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00161"></a><span class="lineno">  161</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html">TransportVelocityCorrectionInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00162"></a><span class="lineno">  162</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html">TransportVelocityCorrectionInner</a>() {};</div>
<div class="line"><a name="l00163"></a><span class="lineno">  163</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00164"></a><span class="lineno">  164</span>&#160;            StdLargeVec&lt;Real&gt;&amp; Vol_, &amp; rho_n_;</div>
<div class="line"><a name="l00165"></a><span class="lineno">  165</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_;</div>
<div class="line"><a name="l00166"></a><span class="lineno">  166</span>&#160;            StdLargeVec&lt;int&gt;&amp; surface_indicator_;</div>
<div class="line"><a name="l00167"></a><span class="lineno">  167</span>&#160;            Real p_background_;</div>
<div class="line"><a name="l00168"></a><span class="lineno">  168</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno">  169</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html#a6065ba4d01ed00a14f1490fd35259425">setupDynamics</a>(Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html#aeaaa346c8840a62bdd5e2a40a4753e79">Interaction</a>(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0)  <span class="keyword">override</span>;</div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;        };</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_total_mechanical_energy.html">  177</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_total_mechanical_energy.html">TotalMechanicalEnergy</a></div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_reduce.html">ParticleDynamicsReduce</a>&lt;Real, ReduceSum&lt;Real&gt;&gt;, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;        {</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;            <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_total_mechanical_energy.html">TotalMechanicalEnergy</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_gravity.html">Gravity</a>* gravity);</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_total_mechanical_energy.html">TotalMechanicalEnergy</a>() {};</div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;            StdLargeVec&lt;Real&gt;&amp; mass_;</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; vel_n_, &amp; pos_n_;</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160;            <a class="code" href="class_s_p_h_1_1_gravity.html">Gravity</a>* gravity_;</div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;            Real ReduceFunction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        };</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_acoustic_time_step_size.html">  194</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_acoustic_time_step_size.html">AcousticTimeStepSize</a> : </div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;            <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_reduce.html">ParticleDynamicsReduce</a>&lt;Real, ReduceMax&gt;, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160;        {</div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;            <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_acoustic_time_step_size.html">AcousticTimeStepSize</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body);</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_acoustic_time_step_size.html">AcousticTimeStepSize</a>() {};</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;            StdLargeVec&lt;Real&gt;&amp; rho_n_, &amp; p_;</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; vel_n_;</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;            Real smoothing_length_;</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160;            Real ReduceFunction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;            Real OutputResult(Real reduced_value) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160;        };</div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160; </div>
<div class="line"><a name="l00212"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size.html">  212</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size.html">AdvectionTimeStepSize</a> :</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160;            <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_reduce.html">ParticleDynamicsReduce</a>&lt;Real, ReduceMax&gt;, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;        {</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;            <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size.html">AdvectionTimeStepSize</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, Real U_max);</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size.html">AdvectionTimeStepSize</a>() {};</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;            Real smoothing_length_;</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; vel_n_;</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;            Real ReduceFunction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160;            Real OutputResult(Real reduced_value) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        };</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160; </div>
<div class="line"><a name="l00229"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size_for_implicit_viscosity.html">  229</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size_for_implicit_viscosity.html">AdvectionTimeStepSizeForImplicitViscosity</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size.html">AdvectionTimeStepSize</a></div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        {</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;            <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size_for_implicit_viscosity.html">AdvectionTimeStepSizeForImplicitViscosity</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, Real U_max);</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size_for_implicit_viscosity.html">AdvectionTimeStepSizeForImplicitViscosity</a>() {};</div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        };</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160; </div>
<div class="line"><a name="l00240"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_vorticity_inner.html">  240</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_vorticity_inner.html">VorticityInner</a></div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_inner.html">FluidDataInner</a></div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;        {</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00244"></a><span class="lineno">  244</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_vorticity_inner.html">VorticityInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* body_inner_relation);</div>
<div class="line"><a name="l00245"></a><span class="lineno">  245</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_vorticity_inner.html">VorticityInner</a>() {};</div>
<div class="line"><a name="l00246"></a><span class="lineno">  246</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00247"></a><span class="lineno">  247</span>&#160;            StdLargeVec&lt;Real&gt;&amp; Vol_;</div>
<div class="line"><a name="l00248"></a><span class="lineno">  248</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; vel_n_;</div>
<div class="line"><a name="l00249"></a><span class="lineno">  249</span>&#160;            StdLargeVec&lt;AngularVecd&gt; &amp; vorticity_;</div>
<div class="line"><a name="l00250"></a><span class="lineno">  250</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Interaction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00251"></a><span class="lineno">  251</span>&#160;        };</div>
<div class="line"><a name="l00252"></a><span class="lineno">  252</span>&#160; </div>
<div class="line"><a name="l00257"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_base_relaxation.html">  257</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_relaxation.html">BaseRelaxation</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics1_level.html">ParticleDynamics1Level</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_inner.html">FluidDataInner</a></div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160;        {</div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_relaxation.html">BaseRelaxation</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_relaxation.html">BaseRelaxation</a>() {};</div>
<div class="line"><a name="l00262"></a><span class="lineno">  262</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00263"></a><span class="lineno">  263</span>&#160;            StdLargeVec&lt;Real&gt;&amp; Vol_, &amp; mass_, &amp; rho_n_, &amp; p_, &amp; drho_dt_;</div>
<div class="line"><a name="l00264"></a><span class="lineno">  264</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_, &amp; vel_n_, &amp; dvel_dt_, &amp; dvel_dt_others_;</div>
<div class="line"><a name="l00265"></a><span class="lineno">  265</span>&#160;        };</div>
<div class="line"><a name="l00266"></a><span class="lineno">  266</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation.html">  271</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation.html">BasePressureRelaxation</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_relaxation.html">BaseRelaxation</a></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;        {</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation.html">BasePressureRelaxation</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation.html">BasePressureRelaxation</a>() {};</div>
<div class="line"><a name="l00276"></a><span class="lineno">  276</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00277"></a><span class="lineno">  277</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Initialization(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00278"></a><span class="lineno">  278</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00279"></a><span class="lineno">  279</span>&#160;            <span class="keyword">virtual</span> Vecd computeNonConservativeAcceleration(<span class="keywordtype">size_t</span> index_i);</div>
<div class="line"><a name="l00280"></a><span class="lineno">  280</span>&#160;        };</div>
<div class="line"><a name="l00281"></a><span class="lineno">  281</span>&#160; </div>
<div class="line"><a name="l00287"></a><span class="lineno">  287</span>&#160;        <span class="keyword">template</span>&lt;<span class="keyword">class</span> RiemannSolverType&gt;</div>
<div class="line"><a name="l00288"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">  288</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">BasePressureRelaxationInner</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation.html">BasePressureRelaxation</a></div>
<div class="line"><a name="l00289"></a><span class="lineno">  289</span>&#160;        {</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">BasePressureRelaxationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">BasePressureRelaxationInner</a>() {};</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160;            RiemannSolverType riemann_solver_;</div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Interaction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160;        };</div>
<div class="line"><a name="l00297"></a><span class="lineno">  297</span>&#160;        <span class="keyword">using</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">PressureRelaxationInner</a> = <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">BasePressureRelaxationInner&lt;NoRiemannSolver&gt;</a>;</div>
<div class="line"><a name="l00299"></a><span class="lineno"><a class="line" href="fluid__dynamics__inner_8h.html#a512c32e74b53c125f4628b73d6365d4c">  299</a></span>&#160;        <span class="keyword">using</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">PressureRelaxationRiemannInner</a> = <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">BasePressureRelaxationInner&lt;AcousticRiemannSolver&gt;</a>;</div>
<div class="line"><a name="l00300"></a><span class="lineno">  300</span>&#160;        <span class="keyword">using</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">PressureRelaxationDissipativeRiemannInner</a> = <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">BasePressureRelaxationInner&lt;DissipativeRiemannSolver&gt;</a>;</div>
<div class="line"><a name="l00301"></a><span class="lineno">  301</span>&#160; </div>
<div class="line"><a name="l00306"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation.html">  306</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation.html">BaseDensityRelaxation</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_relaxation.html">BaseRelaxation</a></div>
<div class="line"><a name="l00307"></a><span class="lineno">  307</span>&#160;        {</div>
<div class="line"><a name="l00308"></a><span class="lineno">  308</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00309"></a><span class="lineno">  309</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation.html">BaseDensityRelaxation</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00310"></a><span class="lineno">  310</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation.html">BaseDensityRelaxation</a>() {};</div>
<div class="line"><a name="l00311"></a><span class="lineno">  311</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00312"></a><span class="lineno">  312</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Initialization(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00313"></a><span class="lineno">  313</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00314"></a><span class="lineno">  314</span>&#160;        };</div>
<div class="line"><a name="l00315"></a><span class="lineno">  315</span>&#160; </div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;        <span class="keyword">template</span>&lt;<span class="keyword">class</span> RiemannSolverType&gt;</div>
<div class="line"><a name="l00321"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">  321</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">BaseDensityRelaxationInner</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation.html">BaseDensityRelaxation</a></div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;        {</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">BaseDensityRelaxationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">BaseDensityRelaxationInner</a>() {};</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160;            RiemannSolverType riemann_solver_;</div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Interaction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        };</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160;        <span class="keyword">using</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">DensityRelaxationInner</a> = <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">BaseDensityRelaxationInner&lt;NoRiemannSolver&gt;</a>;</div>
<div class="line"><a name="l00332"></a><span class="lineno"><a class="line" href="fluid__dynamics__inner_8h.html#a509e86ec419882da505b6c76fc8362d4">  332</a></span>&#160;        <span class="keyword">using</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">DensityRelaxationRiemannInner</a> = <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">BaseDensityRelaxationInner&lt;AcousticRiemannSolver&gt;</a>;</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160; </div>
<div class="line"><a name="l00339"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_oldroyd___b___fluid_initial_condition.html">  339</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_oldroyd___b___fluid_initial_condition.html">Oldroyd_B_FluidInitialCondition</a></div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_particle_dynamics_simple.html">ParticleDynamicsSimple</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        {</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_oldroyd___b___fluid_initial_condition.html">Oldroyd_B_FluidInitialCondition</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body)</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;                : <a class="code" href="class_s_p_h_1_1_particle_dynamics_simple.html">ParticleDynamicsSimple</a>(body), <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a>(body) {};</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_oldroyd___b___fluid_initial_condition.html">Oldroyd_B_FluidInitialCondition</a>() {};</div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;        };</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160; </div>
<div class="line"><a name="l00352"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_pressure_relaxation_riemann_inner_oldroyd___b.html">  352</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_pressure_relaxation_riemann_inner_oldroyd___b.html">PressureRelaxationRiemannInnerOldroyd_B</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">PressureRelaxationRiemannInner</a></div>
<div class="line"><a name="l00353"></a><span class="lineno">  353</span>&#160;        {</div>
<div class="line"><a name="l00354"></a><span class="lineno">  354</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00355"></a><span class="lineno">  355</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_pressure_relaxation_riemann_inner_oldroyd___b.html">PressureRelaxationRiemannInnerOldroyd_B</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_pressure_relaxation_riemann_inner_oldroyd___b.html">PressureRelaxationRiemannInnerOldroyd_B</a>() {};</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;            StdLargeVec&lt;Matd&gt;&amp; tau_, &amp; dtau_dt_;</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Initialization(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Interaction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;        };</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160; </div>
<div class="line"><a name="l00367"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_density_relaxation_riemann_inner_oldroyd___b.html">  367</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_relaxation_riemann_inner_oldroyd___b.html">DensityRelaxationRiemannInnerOldroyd_B</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">DensityRelaxationRiemannInner</a></div>
<div class="line"><a name="l00368"></a><span class="lineno">  368</span>&#160;        {</div>
<div class="line"><a name="l00369"></a><span class="lineno">  369</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00370"></a><span class="lineno">  370</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_relaxation_riemann_inner_oldroyd___b.html">DensityRelaxationRiemannInnerOldroyd_B</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00371"></a><span class="lineno">  371</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_density_relaxation_riemann_inner_oldroyd___b.html">DensityRelaxationRiemannInnerOldroyd_B</a>() {};</div>
<div class="line"><a name="l00372"></a><span class="lineno">  372</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00373"></a><span class="lineno">  373</span>&#160;            StdLargeVec&lt;Matd&gt;&amp; tau_, &amp; dtau_dt_;</div>
<div class="line"><a name="l00374"></a><span class="lineno">  374</span>&#160;            Real mu_p_, lambda_;</div>
<div class="line"><a name="l00375"></a><span class="lineno">  375</span>&#160; </div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Interaction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;        };</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160; </div>
<div class="line"><a name="l00386"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html">  386</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html">FlowRelaxationBuffer</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_dynamics_by_cell.html">PartDynamicsByCell</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00387"></a><span class="lineno">  387</span>&#160;        {</div>
<div class="line"><a name="l00388"></a><span class="lineno">  388</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00389"></a><span class="lineno">  389</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html">FlowRelaxationBuffer</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a>* body_part);</div>
<div class="line"><a name="l00390"></a><span class="lineno">  390</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html">FlowRelaxationBuffer</a>() {};</div>
<div class="line"><a name="l00391"></a><span class="lineno">  391</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00392"></a><span class="lineno">  392</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_, &amp; vel_n_;</div>
<div class="line"><a name="l00394"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html#abda5e08d3a3b8ad8199b0be97c37dd2a">  394</a></span>&#160;            Real <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html#abda5e08d3a3b8ad8199b0be97c37dd2a">relaxation_rate_</a>;</div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160; </div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;            <span class="keyword">virtual</span> Vecd <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html#ad0fd4cbb0177eff9f7f877a0171a8a71">getTargetVelocity</a>(Vecd&amp; position, Vecd&amp; velocity) = 0;</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160;        };</div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160; </div>
<div class="line"><a name="l00406"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_inflow_boundary_condition.html">  406</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_inflow_boundary_condition.html">InflowBoundaryCondition</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html">FlowRelaxationBuffer</a></div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;        {</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_inflow_boundary_condition.html">InflowBoundaryCondition</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a>* body_part) :</div>
<div class="line"><a name="l00410"></a><span class="lineno">  410</span>&#160;                <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html">FlowRelaxationBuffer</a>(body, body_part) {};;</div>
<div class="line"><a name="l00411"></a><span class="lineno">  411</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_inflow_boundary_condition.html">InflowBoundaryCondition</a>() {};</div>
<div class="line"><a name="l00412"></a><span class="lineno">  412</span>&#160;        };</div>
<div class="line"><a name="l00413"></a><span class="lineno">  413</span>&#160; </div>
<div class="line"><a name="l00419"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html">  419</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html">DampingBoundaryCondition</a></div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_dynamics_by_cell.html">PartDynamicsByCell</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00421"></a><span class="lineno">  421</span>&#160;        {</div>
<div class="line"><a name="l00422"></a><span class="lineno">  422</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00423"></a><span class="lineno">  423</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html">DampingBoundaryCondition</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a>* body_part);</div>
<div class="line"><a name="l00424"></a><span class="lineno">  424</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html">DampingBoundaryCondition</a>() {};</div>
<div class="line"><a name="l00425"></a><span class="lineno">  425</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00426"></a><span class="lineno">  426</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_, &amp; vel_n_;</div>
<div class="line"><a name="l00428"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html#a211b0dbc411f84d404ae8d6d893c4c0a">  428</a></span>&#160;            Real <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html#a211b0dbc411f84d404ae8d6d893c4c0a">strength_</a>;</div>
<div class="line"><a name="l00429"></a><span class="lineno">  429</span>&#160;            <a class="code" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> damping_zone_bounds_;</div>
<div class="line"><a name="l00430"></a><span class="lineno">  430</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_particle_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00431"></a><span class="lineno">  431</span>&#160;        };</div>
<div class="line"><a name="l00432"></a><span class="lineno">  432</span>&#160; </div>
<div class="line"><a name="l00433"></a><span class="lineno">  433</span>&#160; </div>
<div class="line"><a name="l00438"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density.html">  438</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density.html">StaticConfinementDensity</a></div>
<div class="line"><a name="l00439"></a><span class="lineno">  439</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_dynamics_by_cell.html">PartDynamicsByCell</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00440"></a><span class="lineno">  440</span>&#160;        {</div>
<div class="line"><a name="l00441"></a><span class="lineno">  441</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00442"></a><span class="lineno">  442</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density.html">StaticConfinementDensity</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_near_shape_surface.html">NearShapeSurface</a>* near_surface);</div>
<div class="line"><a name="l00443"></a><span class="lineno">  443</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density.html">StaticConfinementDensity</a>() {};</div>
<div class="line"><a name="l00444"></a><span class="lineno">  444</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00445"></a><span class="lineno">  445</span>&#160;            Real rho_0_, inv_sigma_0_;</div>
<div class="line"><a name="l00446"></a><span class="lineno">  446</span>&#160;            StdLargeVec&lt;Real&gt;&amp; mass_, &amp; rho_sum_;</div>
<div class="line"><a name="l00447"></a><span class="lineno">  447</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_;</div>
<div class="line"><a name="l00448"></a><span class="lineno">  448</span>&#160;            <a class="code" href="class_s_p_h_1_1_level_set_complex_shape.html">LevelSetComplexShape</a>* level_set_complex_shape_;</div>
<div class="line"><a name="l00449"></a><span class="lineno">  449</span>&#160; </div>
<div class="line"><a name="l00450"></a><span class="lineno">  450</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00451"></a><span class="lineno">  451</span>&#160;        };</div>
<div class="line"><a name="l00452"></a><span class="lineno">  452</span>&#160; </div>
<div class="line"><a name="l00457"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_pressure_relaxation.html">  457</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_pressure_relaxation.html">StaticConfinementPressureRelaxation</a></div>
<div class="line"><a name="l00458"></a><span class="lineno">  458</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_dynamics_by_cell.html">PartDynamicsByCell</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00459"></a><span class="lineno">  459</span>&#160;        {</div>
<div class="line"><a name="l00460"></a><span class="lineno">  460</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00461"></a><span class="lineno">  461</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_pressure_relaxation.html">StaticConfinementPressureRelaxation</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_near_shape_surface.html">NearShapeSurface</a>* near_surface);</div>
<div class="line"><a name="l00462"></a><span class="lineno">  462</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_pressure_relaxation.html">StaticConfinementPressureRelaxation</a>() {};</div>
<div class="line"><a name="l00463"></a><span class="lineno">  463</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00464"></a><span class="lineno">  464</span>&#160;            StdLargeVec&lt;Real&gt;&amp; rho_n_, &amp; p_;</div>
<div class="line"><a name="l00465"></a><span class="lineno">  465</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_, &amp; vel_n_, &amp; dvel_dt_;</div>
<div class="line"><a name="l00466"></a><span class="lineno">  466</span>&#160;            <a class="code" href="class_s_p_h_1_1_level_set_complex_shape.html">LevelSetComplexShape</a>* level_set_complex_shape_;</div>
<div class="line"><a name="l00467"></a><span class="lineno">  467</span>&#160;            <a class="code" href="class_s_p_h_1_1_acoustic_riemann_solver.html">AcousticRiemannSolver</a> riemann_solver_;</div>
<div class="line"><a name="l00468"></a><span class="lineno">  468</span>&#160; </div>
<div class="line"><a name="l00469"></a><span class="lineno">  469</span>&#160; </div>
<div class="line"><a name="l00470"></a><span class="lineno">  470</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00471"></a><span class="lineno">  471</span>&#160;        };</div>
<div class="line"><a name="l00472"></a><span class="lineno">  472</span>&#160; </div>
<div class="line"><a name="l00477"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_relaxation.html">  477</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_relaxation.html">StaticConfinementDensityRelaxation</a></div>
<div class="line"><a name="l00478"></a><span class="lineno">  478</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_dynamics_by_cell.html">PartDynamicsByCell</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00479"></a><span class="lineno">  479</span>&#160;        {</div>
<div class="line"><a name="l00480"></a><span class="lineno">  480</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00481"></a><span class="lineno">  481</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_relaxation.html">StaticConfinementDensityRelaxation</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_near_shape_surface.html">NearShapeSurface</a>* near_surface);</div>
<div class="line"><a name="l00482"></a><span class="lineno">  482</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_relaxation.html">StaticConfinementDensityRelaxation</a>() {};</div>
<div class="line"><a name="l00483"></a><span class="lineno">  483</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00484"></a><span class="lineno">  484</span>&#160;            StdLargeVec&lt;Real&gt;&amp; rho_n_, &amp; p_, &amp; drho_dt_;</div>
<div class="line"><a name="l00485"></a><span class="lineno">  485</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_, &amp; vel_n_;</div>
<div class="line"><a name="l00486"></a><span class="lineno">  486</span>&#160;            <a class="code" href="class_s_p_h_1_1_level_set_complex_shape.html">LevelSetComplexShape</a>* level_set_complex_shape_;</div>
<div class="line"><a name="l00487"></a><span class="lineno">  487</span>&#160;            <a class="code" href="class_s_p_h_1_1_acoustic_riemann_solver.html">AcousticRiemannSolver</a> riemann_solver_;</div>
<div class="line"><a name="l00488"></a><span class="lineno">  488</span>&#160; </div>
<div class="line"><a name="l00489"></a><span class="lineno">  489</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00490"></a><span class="lineno">  490</span>&#160;        };</div>
<div class="line"><a name="l00491"></a><span class="lineno">  491</span>&#160; </div>
<div class="line"><a name="l00496"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement.html">  496</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement.html">StaticConfinement</a></div>
<div class="line"><a name="l00497"></a><span class="lineno">  497</span>&#160;        {</div>
<div class="line"><a name="l00498"></a><span class="lineno">  498</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00499"></a><span class="lineno">  499</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density.html">StaticConfinementDensity</a> density_summation_;</div>
<div class="line"><a name="l00500"></a><span class="lineno">  500</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_pressure_relaxation.html">StaticConfinementPressureRelaxation</a> pressure_relaxation_;</div>
<div class="line"><a name="l00501"></a><span class="lineno">  501</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_relaxation.html">StaticConfinementDensityRelaxation</a> density_relaxation_;</div>
<div class="line"><a name="l00502"></a><span class="lineno">  502</span>&#160; </div>
<div class="line"><a name="l00503"></a><span class="lineno">  503</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement.html">StaticConfinement</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_near_shape_surface.html">NearShapeSurface</a>* near_surface);</div>
<div class="line"><a name="l00504"></a><span class="lineno">  504</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement.html">StaticConfinement</a>() {};</div>
<div class="line"><a name="l00505"></a><span class="lineno">  505</span>&#160;        };</div>
<div class="line"><a name="l00506"></a><span class="lineno">  506</span>&#160; </div>
<div class="line"><a name="l00513"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html">  513</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html">EmitterInflowCondition</a></div>
<div class="line"><a name="l00514"></a><span class="lineno">  514</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_simple_dynamics_by_particle.html">PartSimpleDynamicsByParticle</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00515"></a><span class="lineno">  515</span>&#160;        {</div>
<div class="line"><a name="l00516"></a><span class="lineno">  516</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00517"></a><span class="lineno">  517</span>&#160;            <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html">EmitterInflowCondition</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a>* body_part);</div>
<div class="line"><a name="l00518"></a><span class="lineno">  518</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html">EmitterInflowCondition</a>() {};</div>
<div class="line"><a name="l00519"></a><span class="lineno">  519</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00520"></a><span class="lineno">  520</span>&#160;            StdLargeVec&lt;Real&gt;&amp; rho_n_, &amp; p_;</div>
<div class="line"><a name="l00521"></a><span class="lineno">  521</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_, &amp; vel_n_;</div>
<div class="line"><a name="l00523"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html#a4aaab16a43845b24980b407c015b65dd">  523</a></span>&#160;            Real <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html#a4aaab16a43845b24980b407c015b65dd">inflow_pressure_</a>;</div>
<div class="line"><a name="l00524"></a><span class="lineno">  524</span>&#160;            Real rho_0_;</div>
<div class="line"><a name="l00525"></a><span class="lineno">  525</span>&#160; </div>
<div class="line"><a name="l00527"></a><span class="lineno">  527</span>&#160;            <span class="keyword">virtual</span> Vecd <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html#a45eba83d6341086c3e0b3ffea8725280">getTargetVelocity</a>(Vecd&amp; position, Vecd&amp; velocity) = 0;</div>
<div class="line"><a name="l00529"></a><span class="lineno">  529</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html#a001dd9cf6558ad73c1c6842da427458a">SetInflowParameters</a>() = 0;</div>
<div class="line"><a name="l00530"></a><span class="lineno">  530</span>&#160; </div>
<div class="line"><a name="l00531"></a><span class="lineno">  531</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> unsorted_index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00532"></a><span class="lineno">  532</span>&#160;        };</div>
<div class="line"><a name="l00533"></a><span class="lineno">  533</span>&#160; </div>
<div class="line"><a name="l00538"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html">  538</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html">EmitterInflowInjecting</a></div>
<div class="line"><a name="l00539"></a><span class="lineno">  539</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_simple_dynamics_by_particle.html">PartSimpleDynamicsByParticle</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00540"></a><span class="lineno">  540</span>&#160;        {</div>
<div class="line"><a name="l00541"></a><span class="lineno">  541</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00542"></a><span class="lineno">  542</span>&#160;            <span class="keyword">explicit</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html">EmitterInflowInjecting</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_body_part_by_particle.html">BodyPartByParticle</a>* body_part,</div>
<div class="line"><a name="l00543"></a><span class="lineno">  543</span>&#160;                <span class="keywordtype">size_t</span> body_buffer_width, <span class="keywordtype">int</span> axis_direction, <span class="keywordtype">bool</span> positive);</div>
<div class="line"><a name="l00544"></a><span class="lineno">  544</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html">EmitterInflowInjecting</a>() {};</div>
<div class="line"><a name="l00545"></a><span class="lineno">  545</span>&#160; </div>
<div class="line"><a name="l00547"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a837e463b8446da0d485fab5ab8a38bbd">  547</a></span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a837e463b8446da0d485fab5ab8a38bbd">parallel_exec</a>(Real dt = 0.0)<span class="keyword"> override </span>{ <a class="code" href="class_s_p_h_1_1_part_dynamics_by_particle.html#a9d95efb3814fe94d1cc59f3814ec7b5d">exec</a>(); };</div>
<div class="line"><a name="l00548"></a><span class="lineno">  548</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00549"></a><span class="lineno">  549</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_;</div>
<div class="line"><a name="l00550"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a45bef7b7680a610ae4bba08a78665a1f">  550</a></span>&#160;            <span class="keyword">const</span> <span class="keywordtype">int</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a45bef7b7680a610ae4bba08a78665a1f">axis_</a>; </div>
<div class="line"><a name="l00551"></a><span class="lineno">  551</span>&#160;            <a class="code" href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">BoundingBox</a> body_part_bounds_;</div>
<div class="line"><a name="l00552"></a><span class="lineno">  552</span>&#160;            Vecd periodic_translation_;</div>
<div class="line"><a name="l00553"></a><span class="lineno">  553</span>&#160;            <span class="keywordtype">size_t</span> body_buffer_width_;</div>
<div class="line"><a name="l00554"></a><span class="lineno">  554</span>&#160; </div>
<div class="line"><a name="l00555"></a><span class="lineno">  555</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a12390a7e04f0d55092bad55fd96fb31b">checkLowerBound</a>(<span class="keywordtype">size_t</span> unsorted_index_i, Real dt = 0.0);</div>
<div class="line"><a name="l00556"></a><span class="lineno">  556</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a3abcad3680c4fe824aaa07af52e22284">checkUpperBound</a>(<span class="keywordtype">size_t</span> unsorted_index_i, Real dt = 0.0);</div>
<div class="line"><a name="l00557"></a><span class="lineno">  557</span>&#160;            <a class="code" href="namespace_s_p_h.html#aa72cf1f63790f923a029b77f683b9a5e">ParticleFunctor</a> checking_bound_;</div>
<div class="line"><a name="l00558"></a><span class="lineno">  558</span>&#160; </div>
<div class="line"><a name="l00559"></a><span class="lineno">  559</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> Update(<span class="keywordtype">size_t</span> unsorted_index_i, Real dt = 0.0)<span class="keyword"> override </span>{</div>
<div class="line"><a name="l00560"></a><span class="lineno">  560</span>&#160;                checking_bound_(unsorted_index_i, dt);</div>
<div class="line"><a name="l00561"></a><span class="lineno">  561</span>&#160;            };</div>
<div class="line"><a name="l00562"></a><span class="lineno">  562</span>&#160;        };</div>
<div class="line"><a name="l00563"></a><span class="lineno">  563</span>&#160; </div>
<div class="line"><a name="l00568"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_probe_on_fluid_body.html">  568</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_probe_on_fluid_body.html">FreeSurfaceProbeOnFluidBody</a> : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_part_dynamics_by_cell_reduce.html">PartDynamicsByCellReduce</a>&lt;Real, ReduceMax&gt;,</div>
<div class="line"><a name="l00569"></a><span class="lineno">  569</span>&#160;            <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a></div>
<div class="line"><a name="l00570"></a><span class="lineno">  570</span>&#160;        {</div>
<div class="line"><a name="l00571"></a><span class="lineno">  571</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00572"></a><span class="lineno">  572</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_probe_on_fluid_body.html">FreeSurfaceProbeOnFluidBody</a>(<a class="code" href="class_s_p_h_1_1_fluid_body.html">FluidBody</a>* body, <a class="code" href="class_s_p_h_1_1_body_part_by_cell.html">BodyPartByCell</a>* body_part)</div>
<div class="line"><a name="l00573"></a><span class="lineno">  573</span>&#160;                : <a class="code" href="class_s_p_h_1_1_part_dynamics_by_cell_reduce.html">PartDynamicsByCellReduce&lt;Real, ReduceMax&gt;</a>(body, body_part), <a class="code" href="class_s_p_h_1_1_data_delegate_simple.html">FluidDataSimple</a>(body),</div>
<div class="line"><a name="l00574"></a><span class="lineno">  574</span>&#160;                pos_n_(particles_-&gt;pos_n_)</div>
<div class="line"><a name="l00575"></a><span class="lineno">  575</span>&#160;            {</div>
<div class="line"><a name="l00576"></a><span class="lineno">  576</span>&#160;                quantity_name_ = <span class="stringliteral">&quot;FreeSurfaceProbeOnFluidBody&quot;</span>;</div>
<div class="line"><a name="l00577"></a><span class="lineno">  577</span>&#160;                initial_reference_ = 0.0;</div>
<div class="line"><a name="l00578"></a><span class="lineno">  578</span>&#160;            }</div>
<div class="line"><a name="l00579"></a><span class="lineno">  579</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_probe_on_fluid_body.html">FreeSurfaceProbeOnFluidBody</a>() {};</div>
<div class="line"><a name="l00580"></a><span class="lineno">  580</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00581"></a><span class="lineno">  581</span>&#160;            StdLargeVec&lt;Vecd&gt;&amp; pos_n_;</div>
<div class="line"><a name="l00582"></a><span class="lineno">  582</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> SetupReduce()<span class="keyword"> override </span>{};</div>
<div class="line"><a name="l00583"></a><span class="lineno">  583</span>&#160;            <span class="keyword">virtual</span> Real ReduceFunction(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0)<span class="keyword"> override </span>{ <span class="keywordflow">return</span> pos_n_[index_i][1]; };</div>
<div class="line"><a name="l00584"></a><span class="lineno">  584</span>&#160;        };</div>
<div class="line"><a name="l00585"></a><span class="lineno">  585</span>&#160; </div>
<div class="line"><a name="l00590"></a><span class="lineno"><a class="line" href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html">  590</a></span>&#160;        <span class="keyword">class </span><a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html">SurfaceTensionAccelerationInner</a></div>
<div class="line"><a name="l00591"></a><span class="lineno">  591</span>&#160;            : <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_interaction_dynamics.html">InteractionDynamics</a>, <span class="keyword">public</span> <a class="code" href="class_s_p_h_1_1_data_delegate_inner.html">FluidDataInner</a></div>
<div class="line"><a name="l00592"></a><span class="lineno">  592</span>&#160;        {</div>
<div class="line"><a name="l00593"></a><span class="lineno">  593</span>&#160;        <span class="keyword">public</span>:</div>
<div class="line"><a name="l00594"></a><span class="lineno">  594</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html">SurfaceTensionAccelerationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation, Real gamma);</div>
<div class="line"><a name="l00595"></a><span class="lineno">  595</span>&#160;            <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html">SurfaceTensionAccelerationInner</a>(<a class="code" href="class_s_p_h_1_1_base_inner_body_relation.html">BaseInnerBodyRelation</a>* inner_relation);</div>
<div class="line"><a name="l00596"></a><span class="lineno">  596</span>&#160;            <span class="keyword">virtual</span> ~<a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html">SurfaceTensionAccelerationInner</a>() {};</div>
<div class="line"><a name="l00597"></a><span class="lineno">  597</span>&#160;        <span class="keyword">protected</span>:</div>
<div class="line"><a name="l00598"></a><span class="lineno">  598</span>&#160;            Real gamma_;</div>
<div class="line"><a name="l00599"></a><span class="lineno">  599</span>&#160;            StdLargeVec&lt;Real&gt; &amp;Vol_, &amp;mass_, &amp; pos_div_;</div>
<div class="line"><a name="l00600"></a><span class="lineno">  600</span>&#160;            StdLargeVec&lt;Vecd&gt; &amp;dvel_dt_others_, &amp; color_grad_, &amp; surface_norm_;</div>
<div class="line"><a name="l00601"></a><span class="lineno">  601</span>&#160; </div>
<div class="line"><a name="l00602"></a><span class="lineno">  602</span>&#160;            <span class="keyword">virtual</span> <span class="keywordtype">void</span> <a class="code" href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html#a8dda9cd261b689dac66f4b177a4be704">Interaction</a>(<span class="keywordtype">size_t</span> index_i, Real dt = 0.0) <span class="keyword">override</span>;</div>
<div class="line"><a name="l00603"></a><span class="lineno">  603</span>&#160;        };</div>
<div class="line"><a name="l00604"></a><span class="lineno">  604</span>&#160;    }</div>
<div class="line"><a name="l00605"></a><span class="lineno">  605</span>&#160;}</div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_viscous_acceleration_inner.html">SPH::fluid_dynamics::ViscousAccelerationInner</a></div><div class="ttdoc">the viscosity force induced acceleration</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:123</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_relaxation_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_relaxation.html">SPH::fluid_dynamics::StaticConfinementDensityRelaxation</a></div><div class="ttdoc">static confinement condition for density relaxation</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:477</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_static_confinement_pressure_relaxation_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_pressure_relaxation.html">SPH::fluid_dynamics::StaticConfinementPressureRelaxation</a></div><div class="ttdoc">static confinement condition for pressure relaxation</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:457</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_acoustic_riemann_solver_html"><div class="ttname"><a href="class_s_p_h_1_1_acoustic_riemann_solver.html">SPH::AcousticRiemannSolver</a></div><div class="ttdef"><b>Definition:</b> riemann_solver.h:54</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_particle_dynamics_reduce_html"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_reduce.html">SPH::ParticleDynamicsReduce</a></div><div class="ttdoc">Base abstract class for reduce.</div><div class="ttdef"><b>Definition:</b> particle_dynamics_algorithms.h:66</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_particle_dynamics1_level_html"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics1_level.html">SPH::ParticleDynamics1Level</a></div><div class="ttdoc">This class includes an initialization, an interaction and a update steps.</div><div class="ttdef"><b>Definition:</b> particle_dynamics_algorithms.h:175</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_total_mechanical_energy_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_total_mechanical_energy.html">SPH::fluid_dynamics::TotalMechanicalEnergy</a></div><div class="ttdoc">Compute the total mechanical (kinematic and potential) energy.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:177</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation.html">SPH::fluid_dynamics::BasePressureRelaxation</a></div><div class="ttdoc">Abstract base class for all pressure relaxation schemes.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:271</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html">SPH::fluid_dynamics::SurfaceTensionAccelerationInner</a></div><div class="ttdoc">the viscous force induced acceleration</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:590</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner_html_a056627ab2a843143a8fe16e2e56ca94d"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner.html#a056627ab2a843143a8fe16e2e56ca94d">SPH::fluid_dynamics::AngularConservativeViscousAccelerationInner::Interaction</a></div><div class="ttdeci">virtual void Interaction(size_t index_i, Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:121</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner_html_a2695b531d121dfa4db0c4a44e858333f"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html#a2695b531d121dfa4db0c4a44e858333f">SPH::fluid_dynamics::DensitySummationInner::Interaction</a></div><div class="ttdeci">virtual void Interaction(size_t index_i, Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:73</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html">SPH::fluid_dynamics::TransportVelocityCorrectionInner</a></div><div class="ttdoc">transport velocity correction</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:157</div></div>
<div class="ttc" id="abase__kernel_8h_html"><div class="ttname"><a href="base__kernel_8h.html">base_kernel.h</a></div><div class="ttdoc">This is the base classes of kernel functions. Implementation will be implemented in derived classes....</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_angular_conservative_viscous_acceleration_inner.html">SPH::fluid_dynamics::AngularConservativeViscousAccelerationInner</a></div><div class="ttdoc">the viscosity force induced acceleration, a formulation for conserving angular momentum,...</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:143</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_part_dynamics_by_cell_reduce_html"><div class="ttname"><a href="class_s_p_h_1_1_part_dynamics_by_cell_reduce.html">SPH::PartDynamicsByCellReduce</a></div><div class="ttdoc">Abstract class for reduce operation in a Eulerian constrain region.</div><div class="ttdef"><b>Definition:</b> particle_dynamics_bodypart.h:147</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_acoustic_time_step_size_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_acoustic_time_step_size.html">SPH::fluid_dynamics::AcousticTimeStepSize</a></div><div class="ttdoc">Computing the acoustic time step size.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:194</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_fluid_body_html"><div class="ttname"><a href="class_s_p_h_1_1_fluid_body.html">SPH::FluidBody</a></div><div class="ttdoc">Fluid body uses smoothing length to particle spacing 1.3 and carry out particle sorting every 100 ite...</div><div class="ttdef"><b>Definition:</b> fluid_body.h:39</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size_for_implicit_viscosity_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size_for_implicit_viscosity.html">SPH::fluid_dynamics::AdvectionTimeStepSizeForImplicitViscosity</a></div><div class="ttdoc">Computing the advection time step size when viscosity is handled implicitly.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:229</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html">SPH::fluid_dynamics::EmitterInflowInjecting</a></div><div class="ttdoc">Inject particles into the computational domain.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:538</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_advection_time_step_size.html">SPH::fluid_dynamics::AdvectionTimeStepSize</a></div><div class="ttdoc">Computing the advection time step size.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:212</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_free_surface_probe_on_fluid_body_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_probe_on_fluid_body.html">SPH::fluid_dynamics::FreeSurfaceProbeOnFluidBody</a></div><div class="ttdoc">Probe the free surface profile for a fluid body part by reduced operation.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:568</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition_html_a45eba83d6341086c3e0b3ffea8725280"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html#a45eba83d6341086c3e0b3ffea8725280">SPH::fluid_dynamics::EmitterInflowCondition::getTargetVelocity</a></div><div class="ttdeci">virtual Vecd getTargetVelocity(Vecd &amp;position, Vecd &amp;velocity)=0</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner.html">SPH::fluid_dynamics::FreeSurfaceIndicationInner</a></div><div class="ttdoc">indicate the particles near the free surface of a fluid body. Note that, SPHinXsys does not require t...</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:66</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition_html_a211b0dbc411f84d404ae8d6d893c4c0a"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html#a211b0dbc411f84d404ae8d6d893c4c0a">SPH::fluid_dynamics::DampingBoundaryCondition::strength_</a></div><div class="ttdeci">Real strength_</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:428</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement_density.html">SPH::fluid_dynamics::StaticConfinementDensity</a></div><div class="ttdoc">static confinement condition for density summation</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:438</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html">SPH::fluid_dynamics::FlowRelaxationBuffer</a></div><div class="ttdoc">Flow buffer in which the particles relaxes to a given target velocity profile. This technique will be...</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:386</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_level_set_complex_shape_html"><div class="ttname"><a href="class_s_p_h_1_1_level_set_complex_shape.html">SPH::LevelSetComplexShape</a></div><div class="ttdoc">the final geomtrical definition of the SPHBody based on a narrow band level set function generated fr...</div><div class="ttdef"><b>Definition:</b> geometry_level_set.h:22</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_part_dynamics_by_particle_html_a9d95efb3814fe94d1cc59f3814ec7b5d"><div class="ttname"><a href="class_s_p_h_1_1_part_dynamics_by_particle.html#a9d95efb3814fe94d1cc59f3814ec7b5d">SPH::PartDynamicsByParticle::exec</a></div><div class="ttdeci">virtual void exec(Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> particle_dynamics_bodypart.cpp:11</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_oldroyd___b___fluid_initial_condition_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_oldroyd___b___fluid_initial_condition.html">SPH::fluid_dynamics::Oldroyd_B_FluidInitialCondition</a></div><div class="ttdoc">set initial condition for Oldroyd_B_Fluid dynamics This is a abstract class to be override for case s...</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:339</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting_html_a45bef7b7680a610ae4bba08a78665a1f"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a45bef7b7680a610ae4bba08a78665a1f">SPH::fluid_dynamics::EmitterInflowInjecting::axis_</a></div><div class="ttdeci">const int axis_</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:550</div></div>
<div class="ttc" id="anamespace_s_p_h_html_aa72cf1f63790f923a029b77f683b9a5e"><div class="ttname"><a href="namespace_s_p_h.html#aa72cf1f63790f923a029b77f683b9a5e">SPH::ParticleFunctor</a></div><div class="ttdeci">std::function&lt; void(size_t, Real)&gt; ParticleFunctor</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:48</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_inflow_boundary_condition_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_inflow_boundary_condition.html">SPH::fluid_dynamics::InflowBoundaryCondition</a></div><div class="ttdoc">inflow boundary condition which relaxes the particles to a given velocity profile.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:406</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_near_shape_surface_html"><div class="ttname"><a href="class_s_p_h_1_1_near_shape_surface.html">SPH::NearShapeSurface</a></div><div class="ttdoc">An auxillary class for SPHBody to indicate the region close to the surface of shape.</div><div class="ttdef"><b>Definition:</b> base_body.h:267</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner_html_a6065ba4d01ed00a14f1490fd35259425"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html#a6065ba4d01ed00a14f1490fd35259425">SPH::fluid_dynamics::TransportVelocityCorrectionInner::setupDynamics</a></div><div class="ttdeci">virtual void setupDynamics(Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:154</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_base_pressure_relaxation_inner.html">SPH::fluid_dynamics::BasePressureRelaxationInner</a></div><div class="ttdoc">Template class for pressure relaxation scheme with the Riemann solver as template variable.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:288</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_base_inner_body_relation_html"><div class="ttname"><a href="class_s_p_h_1_1_base_inner_body_relation.html">SPH::BaseInnerBodyRelation</a></div><div class="ttdoc">The base relation within a SPH body.</div><div class="ttdef"><b>Definition:</b> body_relation.h:110</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_inner.html">SPH::fluid_dynamics::DensitySummationInner</a></div><div class="ttdoc">computing density by summation</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:87</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting_html_a837e463b8446da0d485fab5ab8a38bbd"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a837e463b8446da0d485fab5ab8a38bbd">SPH::fluid_dynamics::EmitterInflowInjecting::parallel_exec</a></div><div class="ttdeci">virtual void parallel_exec(Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:547</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_part_simple_dynamics_by_particle_html"><div class="ttname"><a href="class_s_p_h_1_1_part_simple_dynamics_by_particle.html">SPH::PartSimpleDynamicsByParticle</a></div><div class="ttdoc">Abstract class for body part simple particle dynamics.</div><div class="ttdef"><b>Definition:</b> particle_dynamics_bodypart.h:63</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition_html_a4aaab16a43845b24980b407c015b65dd"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html#a4aaab16a43845b24980b407c015b65dd">SPH::fluid_dynamics::EmitterInflowCondition::inflow_pressure_</a></div><div class="ttdeci">Real inflow_pressure_</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:523</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting_html_a3abcad3680c4fe824aaa07af52e22284"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a3abcad3680c4fe824aaa07af52e22284">SPH::fluid_dynamics::EmitterInflowInjecting::checkUpperBound</a></div><div class="ttdeci">virtual void checkUpperBound(size_t unsorted_index_i, Real dt=0.0)</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:542</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner_html_aeaaa346c8840a62bdd5e2a40a4753e79"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_transport_velocity_correction_inner.html#aeaaa346c8840a62bdd5e2a40a4753e79">SPH::fluid_dynamics::TransportVelocityCorrectionInner::Interaction</a></div><div class="ttdeci">virtual void Interaction(size_t index_i, Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:161</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner_html_a8dda9cd261b689dac66f4b177a4be704"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_surface_tension_acceleration_inner.html#a8dda9cd261b689dac66f4b177a4be704">SPH::fluid_dynamics::SurfaceTensionAccelerationInner::Interaction</a></div><div class="ttdeci">virtual void Interaction(size_t index_i, Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:591</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_interaction_dynamics_with_update_html"><div class="ttname"><a href="class_s_p_h_1_1_interaction_dynamics_with_update.html">SPH::InteractionDynamicsWithUpdate</a></div><div class="ttdoc">This class includes an interaction and a update steps.</div><div class="ttdef"><b>Definition:</b> particle_dynamics_algorithms.h:155</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_density_summation_free_surface_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_density_summation_free_surface_inner.html">SPH::fluid_dynamics::DensitySummationFreeSurfaceInner</a></div><div class="ttdoc">computing density by summation with a re-normalization for free surface flows</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:106</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_body_part_by_particle_html"><div class="ttname"><a href="class_s_p_h_1_1_body_part_by_particle.html">SPH::BodyPartByParticle</a></div><div class="ttdoc">An auxillary class for SPHBody to indicate a part of the body moving together with particles.</div><div class="ttdef"><b>Definition:</b> base_body.h:193</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer_html_ad0fd4cbb0177eff9f7f877a0171a8a71"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html#ad0fd4cbb0177eff9f7f877a0171a8a71">SPH::fluid_dynamics::FlowRelaxationBuffer::getTargetVelocity</a></div><div class="ttdeci">virtual Vecd getTargetVelocity(Vecd &amp;position, Vecd &amp;velocity)=0</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_part_dynamics_by_cell_html"><div class="ttname"><a href="class_s_p_h_1_1_part_dynamics_by_cell.html">SPH::PartDynamicsByCell</a></div><div class="ttdoc">Abstract class for imposing Eulerian constrain to a body. The constrained particles are in the tagged...</div><div class="ttdef"><b>Definition:</b> particle_dynamics_bodypart.h:127</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html">SPH::fluid_dynamics::EmitterInflowCondition</a></div><div class="ttdoc">Inflow boundary condition. The body part region is required to have parallel lower- and upper-bound s...</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:513</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_pressure_relaxation_riemann_inner_oldroyd___b_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_pressure_relaxation_riemann_inner_oldroyd___b.html">SPH::fluid_dynamics::PressureRelaxationRiemannInnerOldroyd_B</a></div><div class="ttdoc">Pressure relaxation scheme with the mostly used Riemann solver.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:352</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_data_delegate_inner_html"><div class="ttname"><a href="class_s_p_h_1_1_data_delegate_inner.html">SPH::DataDelegateInner</a></div><div class="ttdoc">prepare data for inner particle dynamics</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:190</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_density_relaxation_riemann_inner_oldroyd___b_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_density_relaxation_riemann_inner_oldroyd___b.html">SPH::fluid_dynamics::DensityRelaxationRiemannInnerOldroyd_B</a></div><div class="ttdoc">Density relaxation scheme with the mostly used Riemann solver.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:367</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner_html_a75cad5efe05736fec2695f603216e794"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_free_surface_indication_inner.html#a75cad5efe05736fec2695f603216e794">SPH::fluid_dynamics::FreeSurfaceIndicationInner::Update</a></div><div class="ttdeci">virtual void Update(size_t index_i, Real dt=0.0) override</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:47</div></div>
<div class="ttc" id="anamespace_s_p_h_html_ad185cdeb05bdee76bf975cc50f1c15b7"><div class="ttname"><a href="namespace_s_p_h.html#ad185cdeb05bdee76bf975cc50f1c15b7">SPH::BoundingBox</a></div><div class="ttdeci">std::pair&lt; Vecd, Vecd &gt; BoundingBox</div><div class="ttdef"><b>Definition:</b> sph_data_conainers.h:19</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_interaction_dynamics_html"><div class="ttname"><a href="class_s_p_h_1_1_interaction_dynamics.html">SPH::InteractionDynamics</a></div><div class="ttdoc">This is the class for particle interaction with other particles.</div><div class="ttdef"><b>Definition:</b> particle_dynamics_algorithms.h:111</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_gravity_html"><div class="ttname"><a href="class_s_p_h_1_1_gravity.html">SPH::Gravity</a></div><div class="ttdoc">The gravity force, derived class of External force.</div><div class="ttdef"><b>Definition:</b> external_force.h:51</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_damping_boundary_condition.html">SPH::fluid_dynamics::DampingBoundaryCondition</a></div><div class="ttdoc">damping boundary condition which relaxes the particles to zero velocity profile.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:419</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_particle_dynamics_simple_html"><div class="ttname"><a href="class_s_p_h_1_1_particle_dynamics_simple.html">SPH::ParticleDynamicsSimple</a></div><div class="ttdoc">Simple particle dynamics without considering particle interaction.</div><div class="ttdef"><b>Definition:</b> particle_dynamics_algorithms.h:46</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_inner.html">SPH::fluid_dynamics::BaseDensityRelaxationInner</a></div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:321</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_body_part_by_cell_html"><div class="ttname"><a href="class_s_p_h_1_1_body_part_by_cell.html">SPH::BodyPartByCell</a></div><div class="ttdoc">An auxillary class for SPHBody to indicate a part of the body fixed in space defined by mesh cells.</div><div class="ttdef"><b>Definition:</b> base_body.h:245</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_vorticity_inner_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_vorticity_inner.html">SPH::fluid_dynamics::VorticityInner</a></div><div class="ttdoc">compute vorticity in the fluid field</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:240</div></div>
<div class="ttc" id="anamespace_s_p_h_html"><div class="ttname"><a href="namespace_s_p_h.html">SPH</a></div><div class="ttdef"><b>Definition:</b> solid_body_supplementary.cpp:9</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition_html_a001dd9cf6558ad73c1c6842da427458a"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_condition.html#a001dd9cf6558ad73c1c6842da427458a">SPH::fluid_dynamics::EmitterInflowCondition::SetInflowParameters</a></div><div class="ttdeci">virtual void SetInflowParameters()=0</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_base_density_relaxation.html">SPH::fluid_dynamics::BaseDensityRelaxation</a></div><div class="ttdoc">Abstract base class for all density relaxation schemes.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:306</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer_html_abda5e08d3a3b8ad8199b0be97c37dd2a"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_flow_relaxation_buffer.html#abda5e08d3a3b8ad8199b0be97c37dd2a">SPH::fluid_dynamics::FlowRelaxationBuffer::relaxation_rate_</a></div><div class="ttdeci">Real relaxation_rate_</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:394</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_fluid_initial_condition_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_fluid_initial_condition.html">SPH::fluid_dynamics::FluidInitialCondition</a></div><div class="ttdoc">Set initial condition for a fluid body. This is a abstract class to be override for case specific ini...</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:49</div></div>
<div class="ttc" id="aclass_s_p_h_1_1_data_delegate_simple_html"><div class="ttname"><a href="class_s_p_h_1_1_data_delegate_simple.html">SPH::DataDelegateSimple</a></div><div class="ttdoc">prepare data for simple particle dynamics.</div><div class="ttdef"><b>Definition:</b> base_particle_dynamics.h:164</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_base_relaxation_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_base_relaxation.html">SPH::fluid_dynamics::BaseRelaxation</a></div><div class="ttdoc">Pure abstract base class for all fluid relaxation schemes.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:257</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting_html_a12390a7e04f0d55092bad55fd96fb31b"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_emitter_inflow_injecting.html#a12390a7e04f0d55092bad55fd96fb31b">SPH::fluid_dynamics::EmitterInflowInjecting::checkLowerBound</a></div><div class="ttdeci">virtual void checkLowerBound(size_t unsorted_index_i, Real dt=0.0)</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.cpp:562</div></div>
<div class="ttc" id="aclass_s_p_h_1_1fluid__dynamics_1_1_static_confinement_html"><div class="ttname"><a href="class_s_p_h_1_1fluid__dynamics_1_1_static_confinement.html">SPH::fluid_dynamics::StaticConfinement</a></div><div class="ttdoc">Static confined boundary condition for complex structures.</div><div class="ttdef"><b>Definition:</b> fluid_dynamics_inner.h:496</div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.17
</small></address>
</body>
</html>
